.class public Lcom/waiqin365/lightapp/view/a;
.super Landroid/widget/PopupWindow;


# instance fields
.field public a:Lcom/waiqin365/lightapp/view/l;

.field private b:Landroid/widget/Button;

.field private c:Landroid/widget/Button;

.field private d:Landroid/widget/Button;

.field private e:Landroid/widget/Button;

.field private f:Landroid/view/View;

.field private g:Landroid/view/View;

.field private h:Landroid/view/View;

.field private i:Landroid/view/animation/Animation;

.field private j:Landroid/view/animation/Animation;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 5

    const/4 v4, -0x1

    const/16 v3, 0x8

    invoke-direct {p0, p1}, Landroid/widget/PopupWindow;-><init>(Landroid/content/Context;)V

    const/high16 v0, 0x7f040000

    invoke-static {p1, v0}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->i:Landroid/view/animation/Animation;

    const v0, 0x7f040001

    invoke-static {p1, v0}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->j:Landroid/view/animation/Animation;

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const/high16 v1, 0x7f030000

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    const v1, 0x7f0c000e

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    const v1, 0x7f0c0010

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    const v1, 0x7f0c0012

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->d:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    const v1, 0x7f0c000f

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->f:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    const v1, 0x7f0c0011

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->g:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    const v1, 0x7f0c0013

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/a;->e:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->d:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->f:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->g:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/a;->setContentView(Landroid/view/View;)V

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/view/a;->setWidth(I)V

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/view/a;->setHeight(I)V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/a;->setFocusable(Z)V

    new-instance v0, Landroid/graphics/drawable/ColorDrawable;

    const/high16 v1, 0x33000000

    invoke-direct {v0, v1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/a;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/view/b;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/b;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->e:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/view/d;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/d;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/a;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    return-object v0
.end method

.method private a()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/a;->i:Landroid/view/animation/Animation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/view/k;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/k;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/a;->i:Landroid/view/animation/Animation;

    invoke-virtual {v2}, Landroid/view/animation/Animation;->getDuration()J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    return-void
.end method

.method private b()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->h:Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/a;->j:Landroid/view/animation/Animation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/view/c;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/c;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/a;->j:Landroid/view/animation/Animation;

    invoke-virtual {v2}, Landroid/view/animation/Animation;->getDuration()J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/a;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/a;->c()V

    return-void
.end method

.method private c()V
    .locals 0

    invoke-super {p0}, Landroid/widget/PopupWindow;->dismiss()V

    return-void
.end method


# virtual methods
.method public a([Ljava/lang/String;Lcom/waiqin365/lightapp/view/l;)V
    .locals 6

    const v1, 0x7f020002

    const v5, 0x7f020001

    const/high16 v4, 0x7f020000

    const/4 v3, 0x1

    const/4 v2, 0x0

    iput-object p2, p0, Lcom/waiqin365/lightapp/view/a;->a:Lcom/waiqin365/lightapp/view/l;

    array-length v0, p1

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    aget-object v1, p1, v2

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/view/e;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/e;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->f:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    aget-object v1, p1, v2

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/view/f;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/f;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    aget-object v1, p1, v3

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/view/g;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/g;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->f:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->g:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    aget-object v1, p1, v2

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->b:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/view/h;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/h;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    aget-object v1, p1, v3

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->c:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/view/i;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/i;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->d:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->d:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->d:Landroid/widget/Button;

    const/4 v1, 0x2

    aget-object v1, p1, v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/a;->d:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/view/j;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/j;-><init>(Lcom/waiqin365/lightapp/view/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public dismiss()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/a;->b()V

    return-void
.end method

.method public showAsDropDown(Landroid/view/View;)V
    .locals 0

    invoke-super {p0, p1}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/a;->a()V

    return-void
.end method

.method public showAsDropDown(Landroid/view/View;II)V
    .locals 0

    invoke-super {p0, p1, p2, p3}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;II)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/a;->a()V

    return-void
.end method

.method public showAtLocation(Landroid/view/View;III)V
    .locals 0

    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/a;->a()V

    return-void
.end method
